<?php

abstract class AbstractUserIdRecipientDeterminationRule extends AbstractRecipientDeterminationRule {
  
  public function calculate(wfWorkflowWorkItem $item) {
    $item->setUserId($this->doCalculate());
  }
  
  /**
   * @return integer
   */
  abstract public function doCalculate();
}